package com.archermind.style.bean;

import com.archermind.style.pojo.ElementEnum;
import com.feng.fengDUtil.dao.annotation.ColumnIgnore;
import com.feng.fengDUtil.dao.annotation.Enum;
import com.feng.fengDUtil.dao.annotation.Id;
import com.feng.fengDUtil.dao.annotation.Table;

import java.io.Serializable;

@Table("style_type")
public class StyleType implements Serializable {

    @Id
    private Integer id;
    private Integer code;
    private String name;
    private String text;

    @Enum
    private ElementEnum element;

    @ColumnIgnore
    private Integer textTypeId;//点 线 路牌关联的 文本样式id

    @ColumnIgnore
    private String textName;//点 线 路牌关联的 文本样式名称

    @ColumnIgnore
    private Integer textStyleID;//点 线 路牌关联的 文本样式编码



    @ColumnIgnore
    private String tagForModify;

    @ColumnIgnore
    private String textTag;

    @ColumnIgnore
    private String textAliasName;



    public StyleType() {
    }

    public StyleType(ElementEnum element, String aliasName, Integer styleID) {
        this.setElement(element);
        this.setName(aliasName);
        this.setCode(styleID);
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ElementEnum getElement() {
        return element;
    }

    public void setElement(ElementEnum element) {
        this.element = element;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getTagForModify() {
        return tagForModify;
    }

    public void setTagForModify(String tagForModify) {
        this.tagForModify = tagForModify;
    }

    public String getTextTag() {
        return textTag;
    }

    public void setTextTag(String textTag) {
        this.textTag = textTag;
    }

    public Integer getTextTypeId() {
        return textTypeId;
    }

    public void setTextTypeId(Integer textTypeId) {
        this.textTypeId = textTypeId;
    }

    public String getTextAliasName() {
        return textAliasName;
    }

    public void setTextAliasName(String textAliasName) {
        this.textAliasName = textAliasName;
    }

    public String getTextName() {
        return textName;
    }

    public void setTextName(String textName) {
        this.textName = textName;
    }

    public Integer getTextStyleID() {
        return textStyleID;
    }

    public void setTextStyleID(Integer textStyleID) {
        this.textStyleID = textStyleID;
    }
}
